<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<DomainModel.Entities.Event>" %>

    <ul class="tag_line">
        
        <% 
            foreach (var tag in Model.TagsList.OfType<Tag>().OrderBy(x=>x.TagName))
            { %>
        <li>
            <%= Html.ActionLink(tag.TagName, "list", "tag", new { TagName = tag.TagName}, new { title = tag.TagName })%>
        </li>
        <%} %>
    </ul>
